﻿Imports MvcApplication_VbViewEngine.Views.Shared

Namespace Views.Account
    Public Class Login
        Inherits SiteMaster(Of Object)

        Public Overrides Function RenderContent() As XElement
            Return _
<div>
    <h2>Login</h2>
    <p>
        Please enter your username and password below. If you don't have an account,
        please <%= Xhtml.ActionLink("register", "Register") %>.
    </p>
    <%= Xhtml.ValidationSummary() %>

    <%= Xhtml.Form( _
        <div>
            <table>
                <tr>
                    <td>Username:</td>
                    <td>
                        <%= Xhtml.Textbox("username") %>
                        <%= Xhtml.ValidationMessage("username") %>
                    </td>
                </tr>
                <tr>
                    <td>Password:</td>
                    <td>
                        <%= Xhtml.Password("password") %>
                        <%= Xhtml.ValidationMessage("password") %>
                    </td>
                </tr>
                <tr>
                    <td></td>
                    <td><%= Xhtml.Checkbox("rememberMe") %> Remember me?</td>
                </tr>
                <tr>
                    <td></td>
                    <td><input type="submit" value="Login"/></td>
                </tr>
            </table>
        </div> _
        ) %>
</div>


        End Function
    End Class
End Namespace
